using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace Home.Controls
{
    public class TreeListItem : Control, IDataItemContainer, INamingContainer
    {
        public TreeListItem()
        {

        }
        public TreeListItem(int itemIndex)
        {
            m_DataItemIndex = m_DisplayIndex = itemIndex;
        }

        #region IDataItemContainer Members
        private object dataItem;
        private int m_DataItemIndex;
        private int m_DisplayIndex;
        public object DataItem
        {
            get
            {
                return this.dataItem;
            }
            set
            {
                this.dataItem = value;
            }
        }

        public int DataItemIndex
        {
            get { return m_DataItemIndex; }
        }

        public int DisplayIndex
        {
            get { return m_DisplayIndex; }
        }
        #endregion
    }
}
